﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace katOS
{
    class SystemPrograms
    {
        DirectoryInfo root = new DirectoryInfo("C:/Users/kareAndy/Documents/UVG/Ciclo 5/CC3002 Sistemas Operativos/Proyecto No. 1/katOSFiles");
        public void ls()
        {
            FileInfo[] listFiles = root.GetFiles("*.*");
            foreach (FileInfo a_file in listFiles)
            {
                Console.WriteLine(a_file.Name);
            }
            Console.WriteLine();
        }

        public void kill(String[] pid)
        {
            Console.WriteLine("killing not implementedyet");
        }

        public void ps()
        {
            Console.WriteLine("ps not implemented yet");
        }
    }
}
